AIOSEO\Plugin\Common\Admin\Notices\WpNotices S

Total Complexity 43
Dependencies 0
Dependents 2
Total lines 292
Lines of code 137
Logical lines of code 67
Comment lines 126
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
adminNotices()
A
45 13 41
getNoticesInContext()
S
56 6 19
addNotice()
S
56 4 18
isAllowedContext()
S
66 4 9
getNotices()
S
70 3 6
getNotice()
S
66 3 8
registerApiField()
S
68 2 7
removeNotices()
S
71 2 6
__construct()
S
72 1 5
enqueueScripts()
S
81 1 3
apiGetNotices()
S
74 1 5
getNoticeId()
S
79 1 3
clearNotices()
S
77 1 4
updateCache()
S
80 1 3